package com.threeox.permissions.annotation;

import com.threeox.permissions.PermissionsDispatcher;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *
 * @ClassName: PermissionSucceeded
 *
 * @Description: TODO(权限请求被拒绝)
 *
 * @author 赵屈犇
 *
 * @date 创建时间: 2017/8/24 10:10
 *
 * @version 1.0
 *
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface PermissionDecline {

    String[] value();

    int requestCode() default PermissionsDispatcher.REQUESTCODEPERMISSIONS;

    int[] requestCodes() default {};
}
